//
//  DeviceRequest.h
//  Cycling
//
//  Created by chijianguo on 2023/4/29.
//

#import "BaseRequest.h"

NS_ASSUME_NONNULL_BEGIN

@interface DeviceRequest : BaseRequest

// 绑定设备
+ (void)bindingDeviceWithSn:(NSString *)sn name:(NSString *)name model:(NSString *)model result:(void(^)(BOOL ret))resultBlock;

// 更新设备数据
+ (void)updateDeviceDataWithSn:(NSString *)sn name:(NSString *)name model:(NSString *)model data:(NSDictionary *)data result:(void(^)(BOOL ret))resultBlock;

// 解绑设备
+ (void)bindingDeviceWithId:(NSString *)eid result:(void(^)(BOOL ret))resultBlock;


@end

NS_ASSUME_NONNULL_END
